@extends('admin.layouts.master')

@section('content')

<div class="row">
	<div class="col-md-12">
		<section class="panel aw-content">
			<header class="panel-heading">对战信息</header>
			<div class="form-group overflow-hidden"></div>
			<div class="form-group overflow-hidden">
				<div class="col-sm-6 col-md-4 col-lg-2 aw-ptb10">订单编号：@{{info.order_id}}</div>
				<div class="col-sm-6 col-md-4 col-lg-4 aw-ptb10">预定时间：@{{info.dateline}}</div>
				<div class="col-sm-6 col-md-4 col-lg-3 aw-ptb10">支付状态：@{{info.pay_type_text}}</div>
				<div class="col-sm-6 col-md-4 col-lg-3 aw-ptb10">订场状态：@{{info.status_text}}</div>
				<div class="col-sm-6 col-md-4 col-lg-2 aw-ptb10">店面：@{{info.storefront_name}}</div>
				<div class="col-sm-6 col-md-4 col-lg-4 aw-ptb10">比赛时段：@{{info.time}}</div>
				<div class="col-sm-6 col-md-4 col-lg-3 aw-ptb10">场地：@{{info.address.type_text}} @{{info.address.number}}号</div>
				<div class="col-sm-6 col-md-4 col-lg-3 aw-ptb10">场次金额：￥@{{info.field_price}}</div>
			</div>
			<div class="form-group overflow-hidden">
				<div class="col-sm-6 aw-p0">
					<h3 class="panel-heading aw-border-none">主队信息</h3>
					<div class="col-sm-12 aw-ptb10">主队：@{{info.man_team_res.name}}</div>
					<div class="col-sm-12 aw-ptb10">参赛人数：@{{info.man_team_res.people_number}}</div>
					<div class="col-sm-12 aw-ptb10">平均年龄：@{{info.man_team_res.avg_age}}</div>
					<div class="col-sm-12 aw-ptb10">队服颜色：@{{info.man_team_res.colour}}</div>
					<div class="col-sm-12 aw-ptb10">主队要求：@{{info.man_team_res.desc}}</div>
				</div>
				<div class="col-sm-6 aw-p0">
					<h3 class="panel-heading aw-border-none">客队信息</h3>
					<div class="col-sm-12 aw-ptb10">客队：@{{info.slave_team_res.name}}</div>
					<div class="col-sm-12 aw-ptb10">参赛人数：@{{info.slave_team_res.people_number}}</div>
					<div class="col-sm-12 aw-ptb10">平均年龄：@{{info.slave_team_res.avg_age}}</div>
					<div class="col-sm-12 aw-ptb10">队服颜色：@{{info.slave_team_res.colour}}</div>
					<div class="col-sm-12 aw-ptb10">主队要求：@{{info.slave_team_res.desc}}</div>
				</div>
			</div>
		</section>
	</div>
</div>

@section('pagejs')
@parent

<script type="text/javascript">
var MJS_URLArry=URLArry;
var AD_info={
	api:'/adminapi/order/info',
	form_data:MJS_URLArry,
	tips:false,
}
var Ajax_Vue_Fun=function(vue_data){
	vm=new Vue({
		el:'#Vue-Body',
		data:{info:vue_data},
	})
}
if(MJS_URLArry.id>0){
	getData(AD_info,Ajax_Vue_Fun)
}else{
	location.href='/admin/order/list?page_id=3';
}
</script>
@endsection

@endsection

